<?php 

/**
* 控制器基类
*/
class Controller
{
	
	public $data=array();
	public function display()
	{
		extract($this->data);
		include VIEW_PATH.'/'.CONTROLLER_NAME.'/'.ACTION_NAME.'.html';
	}

	public function assign($key,$value)
	{
		$this->data[$key] = $value;
	}
}







 ?>